package org.csmzxy.class2334.part3;

public class TV extends ElectricalApp{
    String type;
    public void turnOn(){
        System.out.println("电视机已经打开");
    }
    public void print(){
        super.type = "电视机";
        type = "液晶电视";
        System.out.println("家电的类型为" + super.type);
        System.out.println("电视机的类型为" + type);
        super.turnOn();
        turnOn();
    }
}
